You are here: Trading System Programming > Reference > Classes > Order > Order Methods > setLimitPrice

setLimitPrice

The setLimitPrice method sets the limit price for the order.

Syntax

setLimitPrice(limitPrice);

Parameters

limitPrice

Limit price for the order. Limit price can only be set for limit or stop limit orders.

Example

See placeOrderModify() in Account class for an example on how to use setLimitPrice() method.

 


Copyright © 2006-2009 ActiveTick LLC